Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: drivers: video: capture: Add format config #77879

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

LucasTambor
Copy link
Collaborator

Add video format Kconfig for proper sample configuration.

@zephyrbot
Copy link
Collaborator

zephyrbot commented Sep 2, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff

Note: This message is automatically posted and updated by the Manifest GitHub Action.

uLipe
uLipe previously approved these changes Sep 25, 2024
sylvioalves
sylvioalves previously approved these changes Sep 26, 2024
josuah
josuah previously approved these changes Sep 26, 2024
wmrsouza
wmrsouza previously approved these changes Sep 26, 2024
uLipe
uLipe previously approved these changes Sep 26, 2024
Comment on lines 8 to 12
config VIDEO_FORMAT_HEIGHT
int "Height of the video format"
default 0
help
Height of the video format. If set to 0, the default height is used.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very oddly worded?

Suggested change
config VIDEO_FORMAT_HEIGHT
int "Height of the video format"
default 0
help
Height of the video format. If set to 0, the default height is used.
config VIDEO_FRAME_HEIGHT
int "Height of the video frames"
default 0
help
Height of the video frames. If set to 0, the default height is used.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kartben nice catch!

Comment on lines 14 to 18
config VIDEO_FORMAT_WIDTH
int "Width of the video format"
default 0
help
Width of the video format. If set to 0, the default width is used.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

Comment on lines 20 to 23
config VIDEO_PIXEL_FORMAT
string "Pixel format of the video format"
help
Pixel format of the video format. If not set, the default pixel format is used.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
config VIDEO_PIXEL_FORMAT
string "Pixel format of the video format"
help
Pixel format of the video format. If not set, the default pixel format is used.
config VIDEO_PIXEL_FORMAT
string "Pixel format of the video frames"
help
Pixel format of the video frames. If not set, the default pixel format is used.

Add video format Kconfig for proper sample configuration.

Signed-off-by: Lucas Tamborrino <[email protected]>
Fix build warning for unused variables.

Signed-off-by: Lucas Tamborrino <[email protected]>
Add video as supported feature.

Signed-off-by: Lucas Tamborrino <[email protected]>
Add support for esp32s3-eye board.

Signed-off-by: Lucas Tamborrino <[email protected]>
@aescolar aescolar merged commit 9ae3105 into zephyrproject-rtos:main Oct 1, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Pinctrl area: Samples Samples area: Video Video subsystem area: Xtensa Xtensa Architecture platform: ESP32 Espressif ESP32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants